import socket
import os
import DesModule
file1 = open("秘密.txt", "r+")
file1.write("黄河！黄河！你吃了吗？")
file1.seek(0)
cryptcostring = file1.readline()
print(cryptcostring)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.10.76", 8000))
s.sendall(cryptcostring.encode())
data = s.recv(1024)
print("从服务器接收到的数据为：", data.decode())
s.close()